<%@ tag language="java" pageEncoding="UTF-8" isELIgnored="false" trimDirectiveWhitespaces="true" %>
<%@ tag body-content="scriptless" %>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags" %>
<body>
<jsp:doBody/>
<script src="res/js/jquery-1.10.2.min.js"></script>
<script src="res/js/bootstrap-3.0.0.min.js"></script>
<script src="res/js/cweili${debug ? '' : '.min'}.js"></script>
${script == null ? '' : '<script src="res/js/'.concat(script)
		.concat(debug ? '' : '.min').concat('.js"></script>')}
<t:template id="msgTpl">
	<div class="alert alert-'$type' alert-dismissable">
		<button type="button" class="close" data-dismiss="alert"><t:icon>remove-circle</t:icon></button>
		<t:icon>info-sign</t:icon> <strong>'$msg'</strong>
	</div>
</t:template>
<t:template id="operatorTpl">
	<div class="btn-group">
		<button type="button" class="btn btn-primary btn-xs" onclick="edit('$id')" data-toggle="modal"
		        data-target="#editorModal"><t:icon>pencil</t:icon></button>
		<button type="button" class="btn btn-danger btn-xs" onclick="del('$id')"><t:icon>trash</t:icon></button>
	</div>
</t:template>
</body>